package com.hzit.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 类名：
 * 作者：WF
 * 功能：学生类
 */
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Student {
	// sid  sname      sex        age  addr          cid
	private Integer sid;
	private String sname;
	private String sex;
	private Integer age;
	private String addr;
	private Integer cid;
	private String cname;           // 班级名称

	public Integer getSid2() { //sid2 : sid
		return sid;
	}

	public String getSname() {
		return sname;
	}

	public String getSex() {
		return sex;
	}

	public Integer getAge() {
		return age;
	}

	public String getAddr() {
		return addr;
	}

	public Integer getCid() {
		return cid;
	}

	public String getCname() {
		return cname;
	}

	public Student(String sname, String sex, Integer age, String addr, Integer cid) {
		this.sname = sname;
		this.sex = sex;
		this.age = age;
		this.addr = addr;
		this.cid = cid;
	}
}
